﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Security;
using System.ComponentModel.DataAnnotations;

namespace JChatAdmin.Models.UserModel
{
    public class UserModel
    {

        public Guid UserID { get; set; }

        public Guid UserGuid { get; set; }

        [Required]
        public string RealName { get; set; }

        [Required]
        public string UserName { get; set; }

        [Required]
        public string Password { get; set; }

        public string PasswordTemp { get; set; }

        [Required]
        public string Email { get; set; }

        public string Address { get; set; }

        public int CityID { get; set; }

        public int CountryID { get; set; }

        public string Status { get; set; }

        [Required]
        public string Sex { get; set; }

        public SelectList SelectSex { get; set; }

        public DateTime BirthDay { get; set; }

        public string Avatar { get; set; }

        public DateTime CreateDate { get; set; }

        public DateTime LastLoginDate { get; set; }

        public DateTime LastActiveDate { get; set; }

        public string OtherInFo { get; set; }

        public bool Active { get; set; }

        public SelectList SelectListCity { get; set; }

        public SelectList SelectListCountry { get; set; }
        
    }
}